package Mangos::DB::Characters::ItemInstance;

use strict;

use base qw(Mangos::DB::Characters);

__PACKAGE__->meta->setup
(
    table   => 'item_instance',

    columns => 
    [
        guid       => { type => 'integer', not_null => 1 },
        owner_guid => { type => 'integer', default => '0', not_null => 1 },
        data       => { type => 'scalar', length => 4294967295 },
    ],

    primary_key_columns => [ 'guid' ],
);

1;

package Mangos::DB::Characters::ItemInstance::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Characters::ItemInstance' }

__PACKAGE__->make_manager_methods('item_instance');

1;
